Skip to content

fix(deps): update dependency @playwright/mcp to ^0.0.68#92

Merged
maxmilton merged 1 commit intomasterfrom
renovate/playwright-mcp-0.x
Feb 24, 2026
Merged

fix(deps): update dependency @playwright/mcp to ^0.0.68#92
maxmilton merged 1 commit intomasterfrom
renovate/playwright-mcp-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Feb 1, 2026

This PR contains the following updates:

Package Type Update Change OpenSSF
@playwright/mcp (source) dependencies patch ^0.0.50^0.0.68 OpenSSF Scorecard

Release Notes

microsoft/playwright-mcp (@​playwright/mcp)

v0.0.68

Compare Source

Quick follow-up bug fix
  • Revert --no-sandbox--no-chromium-sandbox rename.
    The CLI flag name is restored to --no-sandbox.

v0.0.67

Compare Source

Extension
Bug Fixes
  • Rename --[no-]sandbox to --[no-]chromium-sandbox for clarity and to avoid ambiguity with other browsers.

v0.0.64

Compare Source

🕶️ Incognito by default

Browser profiles are now in-memory by default — every session starts clean with no leftover state.

Use --persistent to opt into a persistent profile, or --profile=<path> to specify a custom profile directory:

> playwright-cli open example.com                       # incognito, clean slate
> playwright-cli open example.com --persistent          # persistent profile
> playwright-cli open example.com --profile=./my-data   # custom profile directory

🔀 Simplified session management

The --session flag has been replaced with the shorter -s=. Session lifecycle is simplified — there is no longer a "stopped" state; sessions are either running or gone.

> playwright-cli -s=myapp open example.com
> playwright-cli -s=myapp click e5
> playwright-cli -s=myapp close
> playwright-cli -s=myapp delete-data

New session management commands replace the old session-* family:

> playwright-cli list        # list all sessions
> playwright-cli close-all   # close all browsers
> playwright-cli kill-all    # forcefully kill all browser processes

🏗️ Workspace-scoped daemon

Each workspace now gets its own daemon process, preventing cross-project interference and enabling direct daemon startup for faster, more reliable operation.

v0.0.63

Compare Source

🗄️ Browser storage & authentication state control

Full introspection and manipulation of browser storage, enabling reproducible auth flows, debugging, and stateful automation.

> playwright-cli state-save auth.json
> playwright-cli state-load auth.json

Inspect and manage cookies:

> playwright-cli cookie-list
> playwright-cli cookie-get session_id
> playwright-cli cookie-set session_id abc123 --domain=example.com
> playwright-cli cookie-delete session_id
> playwright-cli cookie-clear

Work directly with Web Storage APIs:

# LocalStorage
> playwright-cli localstorage-list
> playwright-cli localstorage-get theme
> playwright-cli localstorage-set theme dark
> playwright-cli localstorage-clear

# SessionStorage
> playwright-cli sessionstorage-list
> playwright-cli sessionstorage-set wizardStep 3
> playwright-cli sessionstorage-clear

Perfect for:

  • Persisting login sessions
  • Debugging auth and feature flags
  • Sharing reproducible browser state across runs

🌐 Powerful network & API request mocking

Intercept, mock, modify, or block network requests directly from the CLI — no test harness required.

Simple CLI-based request mocking

Mock responses by URL pattern with custom status codes, bodies, headers, or request mutations.

# Mock with custom status
> playwright-cli route "**/*.jpg" --status=404

# Mock with JSON body
> playwright-cli route "**/api/users" \
    --body='[{"id":1,"name":"Alice"}]' \
    --content-type=application/json

# Mock with custom headers
> playwright-cli route "**/api/data" \
    --body='{"ok":true}' \
    --header="X-Custom: value"

# Strip sensitive headers from outgoing requests
> playwright-cli route "**/*" --remove-header=cookie,authorization

Manage active routes:

> playwright-cli route-list
> playwright-cli unroute "**/*.jpg"
> playwright-cli unroute

Use cases:

  • Frontend development without a backend
  • Offline and error-state testing
  • Snapshot stability and deterministic rendering
Flexible URL pattern matching

Routes support glob-style patterns for precise targeting:

**/api/users           Exact path match
**/api/*/details       Wildcards within paths
**/*.{png,jpg,jpeg}    File extension matching
**/search?q=*          Query parameter matching

🧠 Advanced request handling with run-code

For conditional logic, request inspection, response mutation, or timing control, drop down to raw Playwright routing via run-code.

Conditional responses based on request data
> playwright-cli run-code "async page => {
  await page.route('**/api/login', route => {
    const body = route.request().postDataJSON();
    if (body.username === 'admin') {
      route.fulfill({ body: JSON.stringify({ token: 'mock-token' }) });
    } else {
      route.fulfill({ status: 401, body: JSON.stringify({ error: 'Invalid' }) });
    }
  });
}"
Modify real backend responses
> playwright-cli run-code "async page => {
  await page.route('**/api/user', async route => {
    const response = await route.fetch();
    const json = await response.json();
    json.isPremium = true;
    await route.fulfill({ response, json });
  });
}"
Simulate network failures
> playwright-cli run-code "async page => {
  await page.route('**/api/offline', route =>
    route.abort('internetdisconnected')
  );
}"

🧠 SKILLS
Local SKILLS installation
> playwright-cli install-skills

Other
Browser installation (renamed)
> playwright-cli install-browser
Ephemeral browser contexts (renamed)
> playwright-cli config --in-memory

Renamed from --isolated to better reflect behavior:

  • Browser profile lives only in memory
  • Nothing persisted to disk
  • Clean state on every run

v0.0.62

Compare Source

Infrastructure for Playwright CLI is in, so we are ready to cook the features and skills!

⚡ Lightning fast Playwright CLI executable (http://github.com/microsoft/playwright-cli)
> playwright-cli open example.com
> time playwright-cli snapshot
0.03s user 0.01s system cpu 0.055 total
🎥 On-demand video recording
> playwright-cli video-start
> playwright-cli open playwright.dev
> playwright-cli video-stop

### Result
- [Video](.playwright-cli/video-2026-01-31T00-49-47-976Z.webm)

Also available with the --caps=devtools flag in Playwright MCP.

🔧 Persistent session configuration
> playwright-cli config --headed --config=config.json
> playwright-cli open playwright.dev

Countless configuration options

☁️ Isolated (ephemeral) browser context, non-chromium browser shortcuts
> playwright-cli install --browser=firefox
> playwright-cli config --isolated --browser=firefox --headed
> playwright-cli open playwright.dev 
🔌 Playwright Chrome extension + Playwright CLI = ❤️
> playwright-cli --session=real-browser snapshot --extension

Share the tab and have fun!

v0.0.61

Compare Source

  • Internal: release the "mcp" binary and scope it to playwright in NPX world

v0.0.60

Compare Source

Bugfixes
  • Fixing the Windows CLI

v0.0.59

Compare Source

Full Playwright CLI configuration:

📣 Playwright CLI

We are adding a new token-efficient CLI mode of operation to Playwright with the skills located at playwright-cli. This brings the long-awaited official SKILL-focused CLI mode to our story and makes it more coding agent-friendly.

It is the first snapshot with the essential command set (which is already larger than the original MCP!), but we expect it to grow rapidly. Unlike the token use, that one we expect to go down since snapshots are no longer forced into the LLM!

Installation

npm install -g @&#8203;playwright/mcp@latest
playwright-cli --help

Demo

Your agent will be running those, but it does not mean you can't play with it:

playwright-cli open https://demo.playwright.dev/todomvc/ --headed
playwright-cli type "Buy groceries"
playwright-cli press Enter
playwright-cli type "Water flowers"
playwright-cli press Enter
playwright-cli check e21
playwright-cli check e35
playwright-cli press screenshot
Skills-less operation

Point your agent at the CLI and let it cook. It'll read the skill off playwright-cli --help on its own:

Test the "add todo" flow on https://demo.playwright.dev/todomvc using playwright-cli.
Check playwright-cli --help for available commands.
Installing skills

Claude Code, GitHub copilot and others will let you install the Playwright skills into the agentic loop.

plugin (recommended)
/plugin marketplace add microsoft/playwright-cli
/plugin install playwright-cli
manual
mkdir -p .claude/skills/playwright-cli
curl -o .claude/skills/playwright-cli/SKILL.md \
  https://raw.githubusercontent.com/microsoft/playwright-cli/main/skills/playwright-cli/SKILL.md

Headed operation

Playwright CLI is headless by default. If you'd like to see the browser, pass --headed to open:

playwright-cli open https://playwright.dev --headed

Sessions

Playwright CLI will use a dedicated persistent profile by default. It means that
your cookies and other storage state will be preserved between the calls. You can use different
instances of the browser for different projects with sessions.

Following will result in two browsers with separate profiles being available. Pass --session to
the invocation to talk to a specific browser.

playwright-cli open https://playwright.dev
playwright-cli --session=example open https://example.com
playwright-cli session-list

You can run your coding agent with the PLAYWRIGHT_CLI_SESSION environment variable:

PLAYWRIGHT_CLI_SESSION=todo-app claude .

Or instruct it to prepend --session to the calls.

Manage your sessions as follows:

playwright-cli session-list             # list all sessions
playwright-cli session-stop [name]      # stop session
playwright-cli session-stop-all         # stop all sessions
playwright-cli session-delete [name]    # delete session data along with the profiles

Commands

Core
playwright-cli open <url>               # open url
playwright-cli close                    # close the page
playwright-cli type <text>              # type text into editable element
playwright-cli click <ref> [button]     # perform click on a web page
playwright-cli dblclick <ref> [button]  # perform double click on a web page
playwright-cli fill <ref> <text>        # fill text into editable element
playwright-cli drag <startRef> <endRef> # perform drag and drop between two elements
playwright-cli hover <ref>              # hover over element on page
playwright-cli select <ref> <val>       # select an option in a dropdown
playwright-cli upload <file>            # upload one or multiple files
playwright-cli check <ref>              # check a checkbox or radio button
playwright-cli uncheck <ref>            # uncheck a checkbox or radio button
playwright-cli snapshot                 # capture page snapshot to obtain element ref
playwright-cli eval <func> [ref]        # evaluate javascript expression on page or element
playwright-cli dialog-accept [prompt]   # accept a dialog
playwright-cli dialog-dismiss           # dismiss a dialog
playwright-cli resize <w> <h>           # resize the browser window
Navigation
playwright-cli go-back                  # go back to the previous page
playwright-cli go-forward               # go forward to the next page
playwright-cli reload                   # reload the current page
Keyboard
playwright-cli press <key>              # press a key on the keyboard, `a`, `arrowleft`
playwright-cli keydown <key>            # press a key down on the keyboard
playwright-cli keyup <key>              # press a key up on the keyboard
Mouse
playwright-cli mousemove <x> <y>        # move mouse to a given position
playwright-cli mousedown [button]       # press mouse down
playwright-cli mouseup [button]         # press mouse up
playwright-cli mousewheel <dx> <dy>     # scroll mouse wheel
Save as
playwright-cli screenshot [ref]         # screenshot of the current page or element
playwright-cli pdf                      # save page as pdf
Tabs
playwright-cli tab-list                 # list all tabs
playwright-cli tab-new [url]            # create a new tab
playwright-cli tab-close [index]        # close a browser tab
playwright-cli tab-select <index>       # select a browser tab
DevTools
playwright-cli console [min-level]      # list console messages
playwright-cli network                  # list all network requests since loading the page
playwright-cli run-code <code>          # run playwright code snippet
playwright-cli tracing-start            # start trace recording
playwright-cli tracing-stop             # stop trace recording

v0.0.58

Compare Source

📣 Playwright CLI

We are adding a new token-efficient CLI mode of operation to Playwright with the skills located at playwright-cli. This brings the long-awaited official SKILL-focused CLI mode to our story and makes it more coding agent-friendly.

It is the first snapshot with the essential command set (which is already larger than the original MCP!), but we expect it to grow rapidly. Unlike the token use, that one we expect to go down since snapshots are no longer forced into the LLM!

Installation

npm install -g @&#8203;playwright/mcp@latest
playwright-cli --help

Demo

Your agent will be running those, but it does not mean you can't play with it:

playwright-cli open https://demo.playwright.dev/todomvc/ --headed
playwright-cli type "Buy groceries"
playwright-cli press Enter
playwright-cli type "Water flowers"
playwright-cli press Enter
playwright-cli check e21
playwright-cli check e35
playwright-cli press screenshot
Skills-less operation

Point your agent at the CLI and let it cook. It'll read the skill off playwright-cli --help on its own:

Test the "add todo" flow on https://demo.playwright.dev/todomvc using playwright-cli.
Check playwright-cli --help for available commands.
Installing skills

Claude Code, GitHub copilot and others will let you install the Playwright skills into the agentic loop.

plugin (recommended)
/plugin marketplace add microsoft/playwright-cli
/plugin install playwright-cli
manual
mkdir -p .claude/skills/playwright-cli
curl -o .claude/skills/playwright-cli/SKILL.md \
  https://raw.githubusercontent.com/microsoft/playwright-cli/main/skills/playwright-cli/SKILL.md

Headed operation

Playwright CLI is headless by default. If you'd like to see the browser, pass --headed to open:

playwright-cli open https://playwright.dev --headed

Sessions

Playwright CLI will use a dedicated persistent profile by default. It means that
your cookies and other storage state will be preserved between the calls. You can use different
instances of the browser for different projects with sessions.

Following will result in two browsers with separate profiles being available. Pass --session to
the invocation to talk to a specific browser.

playwright-cli open https://playwright.dev
playwright-cli --session=example open https://example.com
playwright-cli session-list

You can run your coding agent with the PLAYWRIGHT_CLI_SESSION environment variable:

PLAYWRIGHT_CLI_SESSION=todo-app claude .

Or instruct it to prepend --session to the calls.

Manage your sessions as follows:

playwright-cli session-list             # list all sessions
playwright-cli session-stop [name]      # stop session
playwright-cli session-stop-all         # stop all sessions
playwright-cli session-delete [name]    # delete session data along with the profiles

Commands

Core
playwright-cli open <url>               # open url
playwright-cli close                    # close the page
playwright-cli type <text>              # type text into editable element
playwright-cli click <ref> [button]     # perform click on a web page
playwright-cli dblclick <ref> [button]  # perform double click on a web page
playwright-cli fill <ref> <text>        # fill text into editable element
playwright-cli drag <startRef> <endRef> # perform drag and drop between two elements
playwright-cli hover <ref>              # hover over element on page
playwright-cli select <ref> <val>       # select an option in a dropdown
playwright-cli upload <file>            # upload one or multiple files
playwright-cli check <ref>              # check a checkbox or radio button
playwright-cli uncheck <ref>            # uncheck a checkbox or radio button
playwright-cli snapshot                 # capture page snapshot to obtain element ref
playwright-cli eval <func> [ref]        # evaluate javascript expression on page or element
playwright-cli dialog-accept [prompt]   # accept a dialog
playwright-cli dialog-dismiss           # dismiss a dialog
playwright-cli resize <w> <h>           # resize the browser window
Navigation
playwright-cli go-back                  # go back to the previous page
playwright-cli go-forward               # go forward to the next page
playwright-cli reload                   # reload the current page
Keyboard
playwright-cli press <key>              # press a key on the keyboard, `a`, `arrowleft`
playwright-cli keydown <key>            # press a key down on the keyboard
playwright-cli keyup <key>              # press a key up on the keyboard
Mouse
playwright-cli mousemove <x> <y>        # move mouse to a given position
playwright-cli mousedown [button]       # press mouse down
playwright-cli mouseup [button]         # press mouse up
playwright-cli mousewheel <dx> <dy>     # scroll mouse wheel
Save as
playwright-cli screenshot [ref]         # screenshot of the current page or element
playwright-cli pdf                      # save page as pdf
Tabs
playwright-cli tab-list                 # list all tabs
playwright-cli tab-new [url]            # create a new tab
playwright-cli tab-close [index]        # close a browser tab
playwright-cli tab-select <index>       # select a browser tab
DevTools
playwright-cli console [min-level]      # list console messages
playwright-cli network                  # list all network requests since loading the page
playwright-cli run-code <code>          # run playwright code snippet
playwright-cli tracing-start            # start trace recording
playwright-cli tracing-stop             # stop trace recording

v0.0.57

Compare Source

Prep for v0.0.58

v0.0.56

Compare Source

Features
  • Added cdpTimeout configuration option for CDP connections, allowing control over connection timeouts (default: 30s, 0 disables timeout).
Fixes
  • Improved error handling when browser launch fails:
    • Clearer messaging when the browser profile is already in use (including Windows-specific exit cases).
    • Better diagnostics for missing system dependencies, with a suggestion to run playwright install-deps.

v0.0.55

Compare Source

🔐 Security & Safety
  • MCP now enforces protocol and filesystem access restrictions by default:
    • Browser navigation and API requests are limited to http:, https:, about:, and data: URLs; file:// is blocked.
    • File uploads (setInputFiles, file choosers, MCP file tools) are restricted to workspace root directories (or cwd if no roots are configured).
  • Added --allow-unrestricted-file-access (and allowUnrestrictedFileAccess config) to explicitly opt out, allowing:
    • Access to files outside workspace roots.
    • Navigation and requests to file:// URLs.
📁 Artifacts & Output
  • MCP-recorded videos are now saved under outputDir/videos

v0.0.54

Compare Source

Bug Fixes

v0.0.53

Compare Source

Bug Fixes

v0.0.52

Compare Source

Highlights
  • browser_run_code now takes a function and supports return statements.
  • browser_snapshot now accepts an optional filename parameter. When provided, the snapshot is saved to disk and a link appears in the Files section. This avoids inlining large snapshots and keeps MCP payloads smaller.

v0.0.51

Compare Source

New config options
  • --console-level=<'error' | 'warning' | 'info' | 'debug'> configure the console severity level that is included in the replies. Defaults to 'info'.
  • --snapshot=<'incremental' | 'full' | 'none'> configure snapshot output mode. Defaults to 'incremental'.
New params
  • browser_console_messages now accepts { level: 'error' | 'warning' | 'info' | 'debug' } to include messages up to the given severity level.
  • browser_network_requests no longer returns successfully downloaded static resources by default, pass { includeStatic: boolean } to include them.

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/playwright-mcp-0.x branch 6 times, most recently from 331b4b1 to 93def19 Compare February 3, 2026 01:53
@renovate renovate bot changed the title fix(deps): update dependency @playwright/mcp to ^0.0.61 fix(deps): update dependency @playwright/mcp to ^0.0.62 Feb 3, 2026
@renovate renovate bot force-pushed the renovate/playwright-mcp-0.x branch from 93def19 to a5c188b Compare February 7, 2026 00:42
@renovate renovate bot changed the title fix(deps): update dependency @playwright/mcp to ^0.0.62 fix(deps): update dependency @playwright/mcp to ^0.0.63 Feb 7, 2026
@renovate renovate bot changed the title fix(deps): update dependency @playwright/mcp to ^0.0.63 fix(deps): update dependency @playwright/mcp to ^0.0.64 Feb 9, 2026
@renovate renovate bot force-pushed the renovate/playwright-mcp-0.x branch from a5c188b to dc38d41 Compare February 9, 2026 02:24
@renovate renovate bot force-pushed the renovate/playwright-mcp-0.x branch from dc38d41 to 5f89978 Compare February 17, 2026 23:00
@renovate renovate bot changed the title fix(deps): update dependency @playwright/mcp to ^0.0.64 fix(deps): update dependency @playwright/mcp to ^0.0.67 Feb 17, 2026
@renovate renovate bot force-pushed the renovate/playwright-mcp-0.x branch from 5f89978 to d66fe6f Compare February 18, 2026 01:55
@renovate renovate bot changed the title fix(deps): update dependency @playwright/mcp to ^0.0.67 fix(deps): update dependency @playwright/mcp to ^0.0.68 Feb 18, 2026
@renovate renovate bot force-pushed the renovate/playwright-mcp-0.x branch from d66fe6f to 635d3e7 Compare February 24, 2026 00:02
maxmilton
maxmilton previously approved these changes Feb 24, 2026
@maxmilton maxmilton enabled auto-merge (squash) February 24, 2026 00:04
@renovate renovate bot force-pushed the renovate/playwright-mcp-0.x branch from 635d3e7 to 99eb4b8 Compare February 24, 2026 00:05
@maxmilton maxmilton disabled auto-merge February 24, 2026 00:07
@maxmilton maxmilton merged commit 3702de6 into master Feb 24, 2026
10 of 11 checks passed
@maxmilton maxmilton deleted the renovate/playwright-mcp-0.x branch February 24, 2026 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant